Skip to content

Pyright#33

Merged
yungwine merged 13 commits intodevfrom
pyright
Mar 25, 2026
Merged

Pyright#33
yungwine merged 13 commits intodevfrom
pyright

Conversation

@yungwine
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7adeb91c0c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

def check_mytonctrl_update(local):
git_path = local.buffer.my_dir
def check_mytonctrl_update(local: MyPyClass):
git_path = '/usr/src/mytonctrl'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid hardcoding mytonctrl repo path

Use of a fixed git_path = '/usr/src/mytonctrl' breaks update checks for deployments where mytonctrl is installed elsewhere (for example via pip/venv or a custom checkout path). check_git_update executes git commands with that path as cwd; if the directory is absent, it raises and pre_up logs an error on each run while silently skipping update detection. This should derive the path from runtime location (or at least check existence before calling git).

Useful? React with 👍 / 👎.

@yungwine yungwine closed this Mar 25, 2026
@yungwine yungwine reopened this Mar 25, 2026
@yungwine yungwine merged commit e64ec83 into dev Mar 25, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant